<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>深圳市种子同业商会-会员登录</title>
		<?php echo css( "css/login.css", "front" );?>
		<?php echo js( "js/jquery.js", "front" );?>
		<?php echo js( "js/main.js", "front" );?>
		<?php echo js( "js/login.js", "front" );?>
	</head>
	<body>
	<!-- wrapper -->
	<?php $this->load->view_part($this->_site_path . '/member/wrapper.php');?>
	<!-- wrapper -->
		<div class="login bor">
			<div class="main fLeft">
				<h3>请在这里登录<em><a href="<?php echo base_url($this->_site_path . '/member/register');?>">还没注册 点击这里</a></em></h3>
				<form name='form1' method='post' action='login' id='loginUser'>
					<input type="hidden" name="login" value="1">
					<ul>
						<li> <span>用户名：</span>
						<input id="txtUsername" class="text login_from" type="text" name="user_name" value="<?php echo isset($_COOKIE['user_name'])?$_COOKIE['user_name']:'';?>" />
						</li>
						<li> <span>密&nbsp;&nbsp;&nbsp;码：</span>
						<input id="txtPassword" class="text login_from2" type="password" name="password" value="<?php echo isset($_COOKIE['password'])?$_COOKIE['password']:'';?>" />
						</li>
						<li> <span>验证码：</span>
						<input id="vdcode" class="text login_from3" type="text" style="width: 50px; text-transform: uppercase;" name="vdcode" maxlength='4'  />
						<img id="vdimgck" align="absmiddle" onclick="changeCode('vdimgck', '<?php echo base_url($this->_site_path . '/main/get_captcha');?>');" style="cursor: pointer;" alt="验证码" src="<?php echo base_url($this->_site_path . '/main/get_captcha?r=' . md5(rand(0,1000)));?>"/>
						<a href="javascript:void(0);" onclick="changeCode('vdimgck');">看不清？</a></li>
						<li> <span>有效期：</span>
						<input type="radio" value="2592000" name="keeptime" id="ra1"/>
						<label for="ra1">一个月</label>
						<input type="radio" checked="checked" value="604800" name="keeptime" id="ra2"/>
						<label for="ra2">一周</label>
						<input type="radio" value="86400" name="keeptime"  id="ra3"/>
						<label for="ra3">一天</label>
						<input type="radio" value="0" name="keeptime"  id="ra4"/>
						<label for="ra4">即时</label></li>
						<li>
						<button id="btnSignCheck" class="button2" type="submit">登&nbsp;录</button>
						<a href="resetpassword.php">忘记密码？</a>
						</li>
					</ul>
				</form>
			</div>
			<div class="login_sidebar fRight">
				<p><span>还没有注册吗？</span><br />
				本站的账号都没有？你也太落伍了<br />
				赶紧去注册一个吧。</p>
				<button class="signUp" onclick="javascript:window.location='<?php echo base_url($this->_site_path . '/member/register');?>'">注册</button>
			</div>
			<div class="c"></div>
			<div class="copyright">copyright&copy; 2010-2012 深圳市农业科技促进中心</div>
		</div>
		<div class="footer"></div>
	</body>
</html>
